#!/usr/bin/env bash
set -eu
outfile="out/out.zip"
rm -f "$outfile"
for arch in x86_64 arm aarch64; do
  img_dir="out/${arch}/buildroot/images"
  rm -f "${img_dir}/rootfs.ext2"
  zip -r "$outfile" "${img_dir}"
done
